name = "小地图"
description = "时刻看到自己的位置"
author = "温如言"
version = "1.0.0"

forumthread = ""
api_version_dst = 10

priority = 1

icon_atlas = "modicon.xml"
icon = "modicon.tex"

dst_compatible = true

client_only_mod = true

configuration_options =
{
    {
        name = "Minimap Size",
        label = "地图尺寸",
        options =
        {
            {description = "超小", data = 0.125},
            {description = "小", data = 0.175},
            {description = "中", data = 0.225},
            {description = "大", data = 0.275},
            {description = "很大", data = 0.325},
            {description = "巨大", data = 0.375},
        },
        default = 0.225,
    },
    {
        name = "Position",
        label = "地图位置",
        options =
        {
            {description = "右上", data = "top_right"},
            {description = "左上", data = "top_left"},
            {description = "中上", data = "top_center"},
            {description = "左中", data = "middle_left"},
            {description = "正中", data = "middle_center"},
            {description = "右中", data = "middle_right"},
            {description = "左下", data = "bottom_left"},
            {description = "中下", data = "bottom_center"},
            {description = "右下", data = "bottom_right"},
        },
        default = "top_right"
    },
    {
        name = "Horizontal Margin",
        label = "水平边距",
        options =
        {
            {description = "无", data = 0},
            {description = "微小", data = 5},
            {description = "超小", data = 12.5},
            {description = "很小", data = 25},
            {description = "小", data = 50},
            {description = "中", data = 125},
            {description = "大", data = 235},
            {description = "很大", data = 300},
            {description = "超大", data = 350},
            {description = "巨大", data = 450},
        },
        default = 235
    },
    {
        name = "Vertical Margin",
        label = "垂直边距",
        options =
        {
            {description = "无", data = 0},
            {description = "微小", data = 5},
            {description = "超小", data = 12.5},
            {description = "很小", data = 25},
            {description = "小", data = 50},
            {description = "中", data = 125},
            {description = "大", data = 235},
            {description = "很大", data = 300},
            {description = "超大", data = 350},
            {description = "巨大", data = 450},
        },
        default = 25
    },
    {
        name = "Updates Per Second",
        label = "更新限制",
        hover = "小地图每秒更新次数",
        options =
        {
            {description = "默认", data = 0, hover = "禁用限制，始终保持地图最新"},
            {description = "10 次/秒", data = 0.1, hover = "每秒更新地图10次"},
            {description = "7 次/秒", data = 0.143, hover = "每秒更新地图7次"},
            {description = "5 次/秒", data = 0.20, hover = "每秒更新地图5次"},
            {description = "3 次/秒", data = 0.333, hover = "每秒更新地图3次"},
            {description = "2 次/秒", data = 0.5, hover = "每秒更新地图2次"},
            {description = "1 次/秒", data = 1, hover = "每秒更新地图1次"},
            {description = "2 秒/次", data = 2, hover = "每2秒更新地图1次"},
            {description = "3 秒/次", data = 3, hover = "每3秒更新地图1次"},
            {description = "5 秒/次", data = 5, hover = "每5秒更新地图1次"},
            {description = "7 秒/次", data = 7, hover = "每7秒更新地图1次"},
            {description = "10 秒/次", data = 10, hover = "每10秒更新地图1次"},
        },
        default = 0
    },
}